Fix syntax in build-script
authorSteve Klabnik <steve@steveklabnik.com>
Thu, 3 Sep 2015 16:28:30 +0000 (12:28 -0400)
committerSteve Klabnik <steve@steveklabnik.com>
Thu, 3 Sep 2015 16:28:30 +0000 (12:28 -0400)
This has changed, apparently.

src/doc/build-script.md

index c4b7ec875924d51e0157d687a9fcfefb830f9c93..8e28e26004fc755a888a80831769154558bbed87 100644 (file)
@@ -329,7 +329,7 @@ portable, and standardized. For example, the build script could be written as:
 extern crate gcc;
 
 fn main() {
-    gcc::compile_library("libhello.a", &["src/hello.c"]).unwrap();
+    gcc::compile_library("libhello.a", &["src/hello.c"]);
 }
 ```